/*
 * BanBu_DigiViewController
 * @description 本文件提供附近广播点击进入的广播详情界面的ViewController
 * @package
 * @author 		***
 * @copyright
 * @version 		1.0
 * @description 本文件提供附近广播点击进入的广播详情界面的ViewController
 */


#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import "BanBu_DetailCell.h"

#import "QWeiboAsyncApi.h"
#import "RecordView.h"
#import "MWPhotoBrowser.h"
#import "CFCube.h"
#import "QuadCurveMenu.h"
#import "BanBu_NavButton.h"
#import "QuadCurveMenu.h"
#import "BanBu_ReportView.h"
@class BanBu_ImageView;
@interface BanBu_DigiViewController : UIViewController<UITableViewDataSource,UITableViewDelegate,UIScrollViewDelegate,UITextViewDelegate,AVAudioPlayerDelegate,UIActionSheetDelegate,FHSTwitterEngineAccessTokenDelegate,RecordViewDelegate,MWPhotoBrowserDelegate,UITextViewDelegate,CFCubeDelegate,QuadCurveMenuDelegate,MBProgressHUDDelegate,ReportViewDelegate,UIWebViewDelegate>{
    
    UIButton *_textAndSoundBtn;
    NSArray *replyList;
    
    UIButton *_voiceButton;
    UIActivityIndicatorView *_playHUD;
    UIImageView *animationBackgroundView;
    NSInteger labelSelect;
    UIButton * sendBtn;//发送按钮
    RecordView *_recordView;
    NSData *_sendSoundData;
    NSString *_soundTime;
    BOOL _isReplyed;
    UIImageView *_headImageView;
    BOOL _isRefreshContent;
    UILabel *_sayTextLabel;
    NSString *headImageString;
    BanBu_ImageView *headerView;
    
    float cellHeight;
    
    UIScrollView *_praiseScroll;
    NSMutableArray *_praiseArr;
   
    
    //需要把录音按钮设置为全局变量，自动结束录音需要使用
    BanBu_NavButton *voiceButton;
    
    NSMutableDictionary * _downloadDic;
    
    //zyfzyfzyf⬇️
    QuadCurveMenu *_menu;
    MBProgressHUD *_hud;
    //20141020
    NSMutableString * _shortUrl;//短网址
    UIWebView * _webviewDetail;
    //zyfzyfzyf⬆️
}

@property(nonatomic,retain)UITableView *broadTableView;
@property(nonatomic,retain)CFCube *chatView;
@property(nonatomic,retain)UITextView *inputTextView;
@property(nonatomic,retain)UILabel    *placeHoldLabel;
@property(nonatomic,retain)UIButton *tabvoiceButton;
@property(nonatomic, retain)NSMutableDictionary *broadcast;
@property(nonatomic,retain) AVAudioPlayer *player;
@property (nonatomic, retain) NSURLConnection *connection;//tencent
@property(nonatomic,retain) NSData *sendImageData;
@property(nonatomic,retain)UIImageView *playingView;
@property(nonatomic,retain)  NSMutableArray *showPhotos;//浏览原图

@property(nonatomic,assign)NSInteger selectSection;
@property (assign, nonatomic) CGFloat previousTextViewContentHeight;
@property BOOL isUserBroad;
- (id)initWithBroadcast:(NSDictionary *)broadcastDic;

@end
